//1.导入数据库的板块
const mongoose = require('mongoose')
//2.连接数据库
mongoose.connect('mongodb://localhost:27017/jiaozi')

//3.导入数据库信息
module.exports = mongoose